package com.example.demo_mvp.http;

import com.example.demo_mvp.entity.BaseResponse;
import com.example.demo_mvp.entity.VideoEntity;

import java.util.List;

import io.reactivex.Observer;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiService {
    @GET("/video/findVideos")
    Observer<BaseResponse<List<VideoEntity>>> video(@Query("currentPage") int currentPage,@Query("pageSize") int pageSize);
}
